﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;

namespace _1_Interfaces.Models.Tables.Cjw
{
    /// <summary>
    /// 管理员账号表
    ///</summary>
    [SugarTable("adminList")]
    public class AdminList
    {
        /// <summary>
        /// 唯一标识符 
        ///</summary>
         [SugarColumn(ColumnName="adminId" ,IsPrimaryKey = true ,IsIdentity = true  )]
         public int AdminId { get; set; }
        /// <summary>
        /// 用户名 
        ///</summary>
         [SugarColumn(ColumnName="adminName"    )]
         public string AdminName { get; set; }
        /// <summary>
        /// 密码 
        ///</summary>
         [SugarColumn(ColumnName="adminPassword"    )]
         public string AdminPassword { get; set; }
        /// <summary>
        /// 手机号码 
        ///</summary>
         [SugarColumn(ColumnName="phoneNumber"    )]
         public string PhoneNumber { get; set; }
        /// <summary>
        /// 身份证号码 
        ///</summary>
         [SugarColumn(ColumnName="idNumber"    )]
         public string IdNumber { get; set; }
        /// <summary>
        /// 出生日期 
        ///</summary>
         [SugarColumn(ColumnName="birth"    )]
         public string Birth { get; set; }
        /// <summary>
        /// 性别 0女1男 
        ///</summary>
         [SugarColumn(ColumnName="sex"    )]
         public string Sex { get; set; }
        /// <summary>
        /// 职位 管理员(有且只有唯一) 前台管理 护士医生 
        ///</summary>
         [SugarColumn(ColumnName="position"    )]
         public string Position { get; set; }
        /// <summary>
        /// 状态 1正常 0无权限 
        ///</summary>
         [SugarColumn(ColumnName="state"    )]
         public int? State { get; set; }

        /// <summary>
        /// 图片地址 
        ///</summary>
        [SugarColumn(ColumnName = "img")]
        public string Img { get; set; }
    }
}
